<%@ page language="java" contentType="text/html; charset="
	pageEncoding="ISO-8859-1"%>
<%@ include file="/WEB-INF/jsp/general/include_head.jsp"%>
<link href="../css/tablas.css" rel="stylesheet" type="text/css" />
<link href="../css/errors.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="CONTAINER">
  <div class="header">
    <%@ include file="/WEB-INF/jsp/gesfutbol/head.jsp"%> 
  </div>
  <div class="izquierda">
    <div class="izq_header" ></div>
	<div class="izq_content">	  		 
		<%@ include file="/WEB-INF/jsp/gesfutbol/menu_usuari.jsp"%>			
	 </div>  
	 <div class="izq_footer"></div> 
  </div>
  
  <div class="principal_todo">
  <c:if test="${not empty lliga }">
  	<h3>Liga ${lliga.nom }, Temporada ${lliga.temporada }</h3>
  </c:if>
  
  		<c:if test="${fn:length(llistatJornades) > 0}">
  		<c:forEach items="${llistatJornades}" var="jornada" varStatus="status">
	  		<div class="resultats_jornada">
			  	<table class="resultados" cellpadding="0" cellspacing="0" summary="Resultados de la jornada" >
					<thead>
						<tr>
							<th width="270" colspan="2">Jornada ${jornada.numero}, <fmt:formatDate value="${jornada.data}"
									pattern="dd-MM-yyyy" /></th>
							<th width="45">&nbsp;</th>
						</tr>
					</thead>
					<tbody>
					<c:forEach items="${jornada.partits}" var="partit" varStatus="status">
						<tr>
							<td colspan="2">${partit.nomPartit}</td>							
							<td>${partit.golsLocal} - ${partit.golsVisitant}</td>
						</tr>
					</c:forEach>
					</tbody>
				</table>  
	  		</div>
	  		</c:forEach>
   		</c:if>
	</div>
	<div class="footer">
		<h6>
			<fmt:message key="copyright" />
		</h6>
	</div>
</div>
</body>
</html>
